package com.mi.entity;

import java.io.Serializable;

public class RepairEntity implements Serializable {

    private int repairId;//iD
    private String repairTitle;//标题
    private String companyName;//客户方公司名称
    private String linkName;//联系人姓名
    private String repairTellPhone;//联系人电话
    private String repairAddress;//地址
    private String repairTextArea;//坏的过程
    private int rstatus;

    private int pageNum = 1;
    private int pageSize = 5;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public RepairEntity() {
    }

    public RepairEntity(int repairId, String repairTitle, String companyName, String linkName, String repairTellPhone, String repairAddress, String repairTextArea, int rstatus) {
        this.repairId = repairId;
        this.repairTitle = repairTitle;
        this.companyName = companyName;
        this.linkName = linkName;
        this.repairTellPhone = repairTellPhone;
        this.repairAddress = repairAddress;
        this.repairTextArea = repairTextArea;
        this.rstatus = rstatus;
    }

    public int getRepairId() {
        return repairId;
    }

    public void setRepairId(int repairId) {
        this.repairId = repairId;
    }

    public String getRepairTitle() {
        return repairTitle;
    }

    public void setRepairTitle(String repairTitle) {
        this.repairTitle = repairTitle;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String getRepairTellPhone() {
        return repairTellPhone;
    }

    public void setRepairTellPhone(String repairTellPhone) {
        this.repairTellPhone = repairTellPhone;
    }

    public String getRepairAddress() {
        return repairAddress;
    }

    public void setRepairAddress(String repairAddress) {
        this.repairAddress = repairAddress;
    }

    public String getRepairTextArea() {
        return repairTextArea;
    }

    public void setRepairTextArea(String repairTextArea) {
        this.repairTextArea = repairTextArea;
    }

    public int getRstatus() {
        return rstatus;
    }

    public void setRstatus(int rstatus) {
        this.rstatus = rstatus;
    }

    @Override
    public String toString() {
        return "RepairEntity{" +
                "repairId=" + repairId +
                ", repairTitle='" + repairTitle + '\'' +
                ", companyName='" + companyName + '\'' +
                ", linkName='" + linkName + '\'' +
                ", repairTellPhone='" + repairTellPhone + '\'' +
                ", repairAddress='" + repairAddress + '\'' +
                ", repairTextArea='" + repairTextArea + '\'' +
                ", rstatus=" + rstatus +
                '}';
    }
}
